Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pr/riliang/opengl cts 4.6.0 subroutine #426

Open
wants to merge 2 commits into
base: opengl-cts-4.6.0
Choose a base branch
from

Conversation

Daylight-Peng
Copy link
Contributor

Correct glGetUniformSubroutineuiv return value comparison logic

glGetUniformSubroutineuiv returns the value of the subroutine uniform at
location .
The return value means the "subroutine index", not the "uniform location",
so it can not compare the return value with location value.

Affects:
KHR-GL40.shader_subroutine.subroutine_uniform_reset

Daylight-Peng and others added 2 commits November 2, 2023 16:49
glGetUniformSubroutineuiv returns the value of the subroutine uniform at
location <location>.
The return value means the "subroutine index", not the "uniform location",
so it can not compare the return value with location value.

Affects:
KHR-GL40.shader_subroutine.subroutine_uniform_reset

Signed-off-by: Riliang Peng <[email protected]>
@Daylight-Peng
Copy link
Contributor Author

Please help to review, thanks.

@Daylight-Peng
Copy link
Contributor Author

Could you please help to check?

@lordalcol
Copy link
Contributor

Hi @Daylight-Peng, sorry for the delay. We are currently reviewing and testing this change in Khronos CI.

@Daylight-Peng
Copy link
Contributor Author

Hi @Daylight-Peng, sorry for the delay. We are currently reviewing and testing this change in Khronos CI.

Is it OK now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants